home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group94a.txt
/
000100_icon-group-sender _Mon Apr 25 13:32:10 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-08-19
|
1KB
Received: by cheltenham.cs.arizona.edu; Mon, 25 Apr 1994 12:37:11 MST
From: "Art Eschenlauer" <eschen@molbio.cbs.umn.edu>
Message-Id: <9404251832.AA02971@molbio.cbs.umn.edu>
Subject: tables, lists, and memory question
To: icon-group@cs.arizona.edu
Date: Mon, 25 Apr 94 13:32:10 CDT
X-Mailer: ELM [version 2.3test PL26]
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
I've been wondering for some time now about how (if) Icon knows what
things to trash.
For instance, if I have a function that calls table() and assigns it
to a pointer, can that function return that pointer (return, not
suspend) such that the table is accessible from the calling program?
If so, and I stuff the table full and use it and then have no more
use for it, is there a way to dispose of the table, e.g., untable(pointer)
or something? Or is the best I can do
every (thetable(key(thetable)) := 0)?
The same question goes for lists that are members of other lists, e.g.,
suppose I say
thelist := [ [5], [6], [7] ] ; thelist := []
What happens to the memory containing lists [5], [6], and [7] ?
Thanks,
Art Eschenlauer